import { createApp } from 'vue'

import defaultSettings from '@/config/defaultSettings'
import 'ant-design-vue/dist/antd.less'
import Antd from 'ant-design-vue'
import ProLayout, { PageContainer } from '@ant-design-vue/pro-layout'
import App from './App.vue'
import router from './router'
import i18n from './locales'

import store from './store/'
import registerIcons from './util/icons'

import './mock'
import './router/router-guard'
const app = createApp(App)
app.config.productionTip = false

registerIcons(app)

app.use(Antd).use(store).use(i18n).use(router).use(ProLayout).use(PageContainer).mount('#app')
